package com.zb.service;

import com.zb.dto.DeviceDTO;
import com.zb.util.Pager;
import com.zb.util.ResultResponse;
import com.zb.vo.DeviceQuotaVO;
import com.zb.vo.DeviceSearchVO;

public interface DeviceService{
    void setStatus(String deviceId,Boolean status);
    void setTag(String deviceId,String tag);
    void setOnline(String deviceId,Boolean online);

    ResultResponse search(DeviceSearchVO deviceSearchVO);

    boolean saveDeviceInfo(DeviceDTO deviceDTO);

    Pager<DeviceQuotaVO> queryDeviceQuota(Integer page, Integer size, String devceId, String tag, Integer state);



}
